Carbon


SGDataProcPtr

Header: QuickTimeComponents.h Carbon status: Supported

typedef OSErr(* SGDataProcPtr) (
    SGChannel c, 
    Ptr p, 
    SInt32 len, 
    SInt32 *offset, 
    SInt32 chRefCon, 
    TimeValue time, 
    SInt16 writeType, 
    SInt32 refCon
);

You would declare your function like this if you were to name it MySGDataCallback:

OSErr MySGDataCallback (
    SGChannel c, 
    Ptr p, 
    SInt32 len, 
    SInt32 *offset, 
    SInt32 chRefCon, 
    TimeValue time, 
    SInt16 writeType, 
    SInt32 refCon
);
c
p
len
offset
chRefCon
time
writeType
refCon
function result

A result code.

AVAILABILITY

Supported in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 5/10/2000)